package com.eshop.modules.activity.vo;

import com.eshop.serializer.BigDecimalSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import java.io.Serializable;

@ApiModel(value = "YxStoreBargainQueryVo对象", description = "砍价表查询参数")
public class StoreBargainQueryVo implements Serializable
{
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("砍价产品ID")
    private Long id;
    @ApiModelProperty("关联产品ID")
    private Long productId;
    @ApiModelProperty("砍价活动名称")
    private String title;
    @ApiModelProperty("砍价活动图片")
    private String image;
    @ApiModelProperty("单位名称")
    private String unitName;
    @ApiModelProperty("库存")
    private Integer stock;
    @ApiModelProperty("销量")
    private Integer sales;
    @ApiModelProperty("砍价产品轮播图")
    private String images;
    @ApiModelProperty("砍价开启时间")
    private Date startTime;
    @ApiModelProperty("砍价结束时间")
    private Date stopTime;
    @ApiModelProperty("砍价产品名称")
    private String storeName;
    @JsonSerialize(using = BigDecimalSerializer.class)
    @ApiModelProperty("砍价金额")
    private BigDecimal price;
    @JsonSerialize(using = BigDecimalSerializer.class)
    @ApiModelProperty("砍价商品最低价")
    private BigDecimal minPrice;
    @ApiModelProperty("每次购买的砍价产品数量")
    private Integer num;
    @JsonSerialize(using = BigDecimalSerializer.class)
    @ApiModelProperty("用户每次砍价的最大金额")
    private BigDecimal bargainMaxPrice;
    @JsonSerialize(using = BigDecimalSerializer.class)
    @ApiModelProperty("用户每次砍价的最小金额")
    private BigDecimal bargainMinPrice;
    @ApiModelProperty("用户每次砍价的次数")
    private Integer bargainNum;
    @ApiModelProperty("砍价状态 0(到砍价时间不自动开启)  1(到砍价时间自动开启时间)")
    private Integer status;
    @ApiModelProperty("砍价详情")
    private String description;
    @ApiModelProperty("反多少积分")
    private BigDecimal giveIntegral;
    @ApiModelProperty("砍价活动简介")
    private String info;
    @JsonSerialize(using = BigDecimalSerializer.class)
    @ApiModelProperty("成本价")
    private BigDecimal cost;
    @ApiModelProperty("排序")
    private Integer sort;
    @JsonSerialize(using = BigDecimalSerializer.class)
    @ApiModelProperty("邮费")
    private BigDecimal postage;
    @ApiModelProperty("砍价规则")
    private String rule;
    @ApiModelProperty("砍价产品浏览量")
    private Integer look;
    @ApiModelProperty("砍价产品分享量")
    private Integer share;
    @ApiModelProperty("砍价产品参与人数")
    private Integer people;
    
    public Long getId() {
        return this.id;
    }
    
    public Long getProductId() {
        return this.productId;
    }
    
    public String getTitle() {
        return this.title;
    }
    
    public String getImage() {
        return this.image;
    }
    
    public String getUnitName() {
        return this.unitName;
    }
    
    public Integer getStock() {
        return this.stock;
    }
    
    public Integer getSales() {
        return this.sales;
    }
    
    public String getImages() {
        return this.images;
    }
    
    public Date getStartTime() {
        return this.startTime;
    }
    
    public Date getStopTime() {
        return this.stopTime;
    }
    
    public String getStoreName() {
        return this.storeName;
    }
    
    public BigDecimal getPrice() {
        return this.price;
    }
    
    public BigDecimal getMinPrice() {
        return this.minPrice;
    }
    
    public Integer getNum() {
        return this.num;
    }
    
    public BigDecimal getBargainMaxPrice() {
        return this.bargainMaxPrice;
    }
    
    public BigDecimal getBargainMinPrice() {
        return this.bargainMinPrice;
    }
    
    public Integer getBargainNum() {
        return this.bargainNum;
    }
    
    public Integer getStatus() {
        return this.status;
    }
    
    public String getDescription() {
        return this.description;
    }
    
    public BigDecimal getGiveIntegral() {
        return this.giveIntegral;
    }
    
    public String getInfo() {
        return this.info;
    }
    
    public BigDecimal getCost() {
        return this.cost;
    }
    
    public Integer getSort() {
        return this.sort;
    }
    
    public BigDecimal getPostage() {
        return this.postage;
    }
    
    public String getRule() {
        return this.rule;
    }
    
    public Integer getLook() {
        return this.look;
    }
    
    public Integer getShare() {
        return this.share;
    }
    
    public Integer getPeople() {
        return this.people;
    }
    
    public void setId(final Long id) {
        this.id = id;
    }
    
    public void setProductId(final Long productId) {
        this.productId = productId;
    }
    
    public void setTitle(final String title) {
        this.title = title;
    }
    
    public void setImage(final String image) {
        this.image = image;
    }
    
    public void setUnitName(final String unitName) {
        this.unitName = unitName;
    }
    
    public void setStock(final Integer stock) {
        this.stock = stock;
    }
    
    public void setSales(final Integer sales) {
        this.sales = sales;
    }
    
    public void setImages(final String images) {
        this.images = images;
    }
    
    public void setStartTime(final Date startTime) {
        this.startTime = startTime;
    }
    
    public void setStopTime(final Date stopTime) {
        this.stopTime = stopTime;
    }
    
    public void setStoreName(final String storeName) {
        this.storeName = storeName;
    }
    
    public void setPrice(final BigDecimal price) {
        this.price = price;
    }
    
    public void setMinPrice(final BigDecimal minPrice) {
        this.minPrice = minPrice;
    }
    
    public void setNum(final Integer num) {
        this.num = num;
    }
    
    public void setBargainMaxPrice(final BigDecimal bargainMaxPrice) {
        this.bargainMaxPrice = bargainMaxPrice;
    }
    
    public void setBargainMinPrice(final BigDecimal bargainMinPrice) {
        this.bargainMinPrice = bargainMinPrice;
    }
    
    public void setBargainNum(final Integer bargainNum) {
        this.bargainNum = bargainNum;
    }
    
    public void setStatus(final Integer status) {
        this.status = status;
    }
    
    public void setDescription(final String description) {
        this.description = description;
    }
    
    public void setGiveIntegral(final BigDecimal giveIntegral) {
        this.giveIntegral = giveIntegral;
    }
    
    public void setInfo(final String info) {
        this.info = info;
    }
    
    public void setCost(final BigDecimal cost) {
        this.cost = cost;
    }
    
    public void setSort(final Integer sort) {
        this.sort = sort;
    }
    
    public void setPostage(final BigDecimal postage) {
        this.postage = postage;
    }
    
    public void setRule(final String rule) {
        this.rule = rule;
    }
    
    public void setLook(final Integer look) {
        this.look = look;
    }
    
    public void setShare(final Integer share) {
        this.share = share;
    }
    
    public void setPeople(final Integer people) {
        this.people = people;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof StoreBargainQueryVo)) {
            return false;
        }
        final StoreBargainQueryVo other = (StoreBargainQueryVo)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0065: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0065;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$productId = this.getProductId();
        final Object other$productId = other.getProductId();
        Label_0102: {
            if (this$productId == null) {
                if (other$productId == null) {
                    break Label_0102;
                }
            }
            else if (this$productId.equals(other$productId)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$stock = this.getStock();
        final Object other$stock = other.getStock();
        Label_0139: {
            if (this$stock == null) {
                if (other$stock == null) {
                    break Label_0139;
                }
            }
            else if (this$stock.equals(other$stock)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$sales = this.getSales();
        final Object other$sales = other.getSales();
        Label_0176: {
            if (this$sales == null) {
                if (other$sales == null) {
                    break Label_0176;
                }
            }
            else if (this$sales.equals(other$sales)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$num = this.getNum();
        final Object other$num = other.getNum();
        Label_0213: {
            if (this$num == null) {
                if (other$num == null) {
                    break Label_0213;
                }
            }
            else if (this$num.equals(other$num)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$bargainNum = this.getBargainNum();
        final Object other$bargainNum = other.getBargainNum();
        Label_0250: {
            if (this$bargainNum == null) {
                if (other$bargainNum == null) {
                    break Label_0250;
                }
            }
            else if (this$bargainNum.equals(other$bargainNum)) {
                break Label_0250;
            }
            return false;
        }
        final Object this$status = this.getStatus();
        final Object other$status = other.getStatus();
        Label_0287: {
            if (this$status == null) {
                if (other$status == null) {
                    break Label_0287;
                }
            }
            else if (this$status.equals(other$status)) {
                break Label_0287;
            }
            return false;
        }
        final Object this$sort = this.getSort();
        final Object other$sort = other.getSort();
        Label_0324: {
            if (this$sort == null) {
                if (other$sort == null) {
                    break Label_0324;
                }
            }
            else if (this$sort.equals(other$sort)) {
                break Label_0324;
            }
            return false;
        }
        final Object this$look = this.getLook();
        final Object other$look = other.getLook();
        Label_0361: {
            if (this$look == null) {
                if (other$look == null) {
                    break Label_0361;
                }
            }
            else if (this$look.equals(other$look)) {
                break Label_0361;
            }
            return false;
        }
        final Object this$share = this.getShare();
        final Object other$share = other.getShare();
        Label_0398: {
            if (this$share == null) {
                if (other$share == null) {
                    break Label_0398;
                }
            }
            else if (this$share.equals(other$share)) {
                break Label_0398;
            }
            return false;
        }
        final Object this$people = this.getPeople();
        final Object other$people = other.getPeople();
        Label_0435: {
            if (this$people == null) {
                if (other$people == null) {
                    break Label_0435;
                }
            }
            else if (this$people.equals(other$people)) {
                break Label_0435;
            }
            return false;
        }
        final Object this$title = this.getTitle();
        final Object other$title = other.getTitle();
        Label_0472: {
            if (this$title == null) {
                if (other$title == null) {
                    break Label_0472;
                }
            }
            else if (this$title.equals(other$title)) {
                break Label_0472;
            }
            return false;
        }
        final Object this$image = this.getImage();
        final Object other$image = other.getImage();
        Label_0509: {
            if (this$image == null) {
                if (other$image == null) {
                    break Label_0509;
                }
            }
            else if (this$image.equals(other$image)) {
                break Label_0509;
            }
            return false;
        }
        final Object this$unitName = this.getUnitName();
        final Object other$unitName = other.getUnitName();
        Label_0546: {
            if (this$unitName == null) {
                if (other$unitName == null) {
                    break Label_0546;
                }
            }
            else if (this$unitName.equals(other$unitName)) {
                break Label_0546;
            }
            return false;
        }
        final Object this$images = this.getImages();
        final Object other$images = other.getImages();
        Label_0583: {
            if (this$images == null) {
                if (other$images == null) {
                    break Label_0583;
                }
            }
            else if (this$images.equals(other$images)) {
                break Label_0583;
            }
            return false;
        }
        final Object this$startTime = this.getStartTime();
        final Object other$startTime = other.getStartTime();
        Label_0620: {
            if (this$startTime == null) {
                if (other$startTime == null) {
                    break Label_0620;
                }
            }
            else if (this$startTime.equals(other$startTime)) {
                break Label_0620;
            }
            return false;
        }
        final Object this$stopTime = this.getStopTime();
        final Object other$stopTime = other.getStopTime();
        Label_0657: {
            if (this$stopTime == null) {
                if (other$stopTime == null) {
                    break Label_0657;
                }
            }
            else if (this$stopTime.equals(other$stopTime)) {
                break Label_0657;
            }
            return false;
        }
        final Object this$storeName = this.getStoreName();
        final Object other$storeName = other.getStoreName();
        Label_0694: {
            if (this$storeName == null) {
                if (other$storeName == null) {
                    break Label_0694;
                }
            }
            else if (this$storeName.equals(other$storeName)) {
                break Label_0694;
            }
            return false;
        }
        final Object this$price = this.getPrice();
        final Object other$price = other.getPrice();
        Label_0731: {
            if (this$price == null) {
                if (other$price == null) {
                    break Label_0731;
                }
            }
            else if (this$price.equals(other$price)) {
                break Label_0731;
            }
            return false;
        }
        final Object this$minPrice = this.getMinPrice();
        final Object other$minPrice = other.getMinPrice();
        Label_0768: {
            if (this$minPrice == null) {
                if (other$minPrice == null) {
                    break Label_0768;
                }
            }
            else if (this$minPrice.equals(other$minPrice)) {
                break Label_0768;
            }
            return false;
        }
        final Object this$bargainMaxPrice = this.getBargainMaxPrice();
        final Object other$bargainMaxPrice = other.getBargainMaxPrice();
        Label_0805: {
            if (this$bargainMaxPrice == null) {
                if (other$bargainMaxPrice == null) {
                    break Label_0805;
                }
            }
            else if (this$bargainMaxPrice.equals(other$bargainMaxPrice)) {
                break Label_0805;
            }
            return false;
        }
        final Object this$bargainMinPrice = this.getBargainMinPrice();
        final Object other$bargainMinPrice = other.getBargainMinPrice();
        Label_0842: {
            if (this$bargainMinPrice == null) {
                if (other$bargainMinPrice == null) {
                    break Label_0842;
                }
            }
            else if (this$bargainMinPrice.equals(other$bargainMinPrice)) {
                break Label_0842;
            }
            return false;
        }
        final Object this$description = this.getDescription();
        final Object other$description = other.getDescription();
        Label_0879: {
            if (this$description == null) {
                if (other$description == null) {
                    break Label_0879;
                }
            }
            else if (this$description.equals(other$description)) {
                break Label_0879;
            }
            return false;
        }
        final Object this$giveIntegral = this.getGiveIntegral();
        final Object other$giveIntegral = other.getGiveIntegral();
        Label_0916: {
            if (this$giveIntegral == null) {
                if (other$giveIntegral == null) {
                    break Label_0916;
                }
            }
            else if (this$giveIntegral.equals(other$giveIntegral)) {
                break Label_0916;
            }
            return false;
        }
        final Object this$info = this.getInfo();
        final Object other$info = other.getInfo();
        Label_0953: {
            if (this$info == null) {
                if (other$info == null) {
                    break Label_0953;
                }
            }
            else if (this$info.equals(other$info)) {
                break Label_0953;
            }
            return false;
        }
        final Object this$cost = this.getCost();
        final Object other$cost = other.getCost();
        Label_0990: {
            if (this$cost == null) {
                if (other$cost == null) {
                    break Label_0990;
                }
            }
            else if (this$cost.equals(other$cost)) {
                break Label_0990;
            }
            return false;
        }
        final Object this$postage = this.getPostage();
        final Object other$postage = other.getPostage();
        Label_1027: {
            if (this$postage == null) {
                if (other$postage == null) {
                    break Label_1027;
                }
            }
            else if (this$postage.equals(other$postage)) {
                break Label_1027;
            }
            return false;
        }
        final Object this$rule = this.getRule();
        final Object other$rule = other.getRule();
        if (this$rule == null) {
            if (other$rule == null) {
                return true;
            }
        }
        else if (this$rule.equals(other$rule)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof StoreBargainQueryVo;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $productId = this.getProductId();
        result = result * 59 + (($productId == null) ? 43 : $productId.hashCode());
        final Object $stock = this.getStock();
        result = result * 59 + (($stock == null) ? 43 : $stock.hashCode());
        final Object $sales = this.getSales();
        result = result * 59 + (($sales == null) ? 43 : $sales.hashCode());
        final Object $num = this.getNum();
        result = result * 59 + (($num == null) ? 43 : $num.hashCode());
        final Object $bargainNum = this.getBargainNum();
        result = result * 59 + (($bargainNum == null) ? 43 : $bargainNum.hashCode());
        final Object $status = this.getStatus();
        result = result * 59 + (($status == null) ? 43 : $status.hashCode());
        final Object $sort = this.getSort();
        result = result * 59 + (($sort == null) ? 43 : $sort.hashCode());
        final Object $look = this.getLook();
        result = result * 59 + (($look == null) ? 43 : $look.hashCode());
        final Object $share = this.getShare();
        result = result * 59 + (($share == null) ? 43 : $share.hashCode());
        final Object $people = this.getPeople();
        result = result * 59 + (($people == null) ? 43 : $people.hashCode());
        final Object $title = this.getTitle();
        result = result * 59 + (($title == null) ? 43 : $title.hashCode());
        final Object $image = this.getImage();
        result = result * 59 + (($image == null) ? 43 : $image.hashCode());
        final Object $unitName = this.getUnitName();
        result = result * 59 + (($unitName == null) ? 43 : $unitName.hashCode());
        final Object $images = this.getImages();
        result = result * 59 + (($images == null) ? 43 : $images.hashCode());
        final Object $startTime = this.getStartTime();
        result = result * 59 + (($startTime == null) ? 43 : $startTime.hashCode());
        final Object $stopTime = this.getStopTime();
        result = result * 59 + (($stopTime == null) ? 43 : $stopTime.hashCode());
        final Object $storeName = this.getStoreName();
        result = result * 59 + (($storeName == null) ? 43 : $storeName.hashCode());
        final Object $price = this.getPrice();
        result = result * 59 + (($price == null) ? 43 : $price.hashCode());
        final Object $minPrice = this.getMinPrice();
        result = result * 59 + (($minPrice == null) ? 43 : $minPrice.hashCode());
        final Object $bargainMaxPrice = this.getBargainMaxPrice();
        result = result * 59 + (($bargainMaxPrice == null) ? 43 : $bargainMaxPrice.hashCode());
        final Object $bargainMinPrice = this.getBargainMinPrice();
        result = result * 59 + (($bargainMinPrice == null) ? 43 : $bargainMinPrice.hashCode());
        final Object $description = this.getDescription();
        result = result * 59 + (($description == null) ? 43 : $description.hashCode());
        final Object $giveIntegral = this.getGiveIntegral();
        result = result * 59 + (($giveIntegral == null) ? 43 : $giveIntegral.hashCode());
        final Object $info = this.getInfo();
        result = result * 59 + (($info == null) ? 43 : $info.hashCode());
        final Object $cost = this.getCost();
        result = result * 59 + (($cost == null) ? 43 : $cost.hashCode());
        final Object $postage = this.getPostage();
        result = result * 59 + (($postage == null) ? 43 : $postage.hashCode());
        final Object $rule = this.getRule();
        result = result * 59 + (($rule == null) ? 43 : $rule.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "StoreBargainQueryVo(id=" + this.getId() + ", productId=" + this.getProductId() + ", title=" + this.getTitle() + ", image=" + this.getImage() + ", unitName=" + this.getUnitName() + ", stock=" + this.getStock() + ", sales=" + this.getSales() + ", images=" + this.getImages() + ", startTime=" + this.getStartTime() + ", stopTime=" + this.getStopTime() + ", storeName=" + this.getStoreName() + ", price=" + this.getPrice() + ", minPrice=" + this.getMinPrice() + ", num=" + this.getNum() + ", bargainMaxPrice=" + this.getBargainMaxPrice() + ", bargainMinPrice=" + this.getBargainMinPrice() + ", bargainNum=" + this.getBargainNum() + ", status=" + this.getStatus() + ", description=" + this.getDescription() + ", giveIntegral=" + this.getGiveIntegral() + ", info=" + this.getInfo() + ", cost=" + this.getCost() + ", sort=" + this.getSort() + ", postage=" + this.getPostage() + ", rule=" + this.getRule() + ", look=" + this.getLook() + ", share=" + this.getShare() + ", people=" + this.getPeople() + ")";
    }
}
